NetworkQualityStats class Null safety

上行/下行网络质量相关数据

Constructors

NetworkQualityStats({String? uid, double? fractionLost, int? rtt, int? totalBandwidth, NetworkQuality? txQuality, NetworkQuality? rxQuality})
const

Properties

fractionLost → double?
丢包率,范围 0.0,1.0 [...]
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
rtt → int?
当 uid 为本地用户时有效,客户端到服务端的往返延时,单位:ms
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
rxQuality → NetworkQuality?
下行网络质量分,范围 0,5,分数越高网络质量越差
final
totalBandwidth → int?
本端的音视频 RTP 包 2 秒内的平均传输速率,单位:bps [...]
final
txQuality → NetworkQuality?
上行网络质量分,范围 0,5,分数越高网络质量越差
final
uid → String?
用户 ID
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited